//-------------------------------------------------------------------
//	Copyright (c) 2012-2014 Zhirnov Andrey
//	This file is part of the "UXGEN-ES" project.
//	See copyright notice in "Engine.h".
//-------------------------------------------------------------------
/*
	example of service with view class
*/
package uxgenes.app;


// #ifdef FOREGROUND_VIEW

//
// Main Service
//
public class MainService extends uxgenes.view.UXViewService
{
	static {
		System.loadLibrary("UXGENES");
	}
	
	
// constants //
	private static final String	TAG = "MainService";
	
	
// variables //
	
	
// methods //

	@Override
	public void onCreate ()
	{
	    super.onCreate();
	    
	    StartEngine( null, 0 );
	    SetForegroundView( engine.GetRootView(), 0 );
	}	
}

// #endif FOREGROUND_VIEW
